Hypothesis Testing with R

ORVILLE D. HOMBREBUENO

2024-11-21

Scan me for slides!

Hi!

My name is Orville D. Hombrebueno. I am a Math teacher at the College of Teacher Education.

odhombrebueno | mildorville | ellivromvvn

This talk will not

  • dive into deep terms and concepts in hypothesis testing.
  • show and discuss computation by hand of test statistics.
  • discuss decision errors.
  • discuss statistical power of a hypothesis tests.

This talk will

  • define hypothesis testing.
  • discuss the steps in hypothesis testing.
  • discuss why R?
  • perform live demonstrations.
  • give resources.

Hypothesis testing

A hypothesis test is a statistical technique used to evaluate competing claims using data (Diez et al. 2022).

  • On average, NVSU faculty members are finishing their PhDs in less than 7 years.
  • There are more female than male who are confident in doing hypothesis testing.
  • The performance of the students in their statistics class improved after using R and RStudio.

Hypothesis testing


Use a hypothesis test to test the null hypothesis, \(H_0\) versus the alternative hypothesis \(H_A\) at a particular significance level, \(\alpha\).

Hypothesis testing: a five step process


  1. Identify: Identify the hypotheses and the significance level.

Hypothesis testing: a five step process


  1. Choose: Choose the appropriate test procedure and identify it by name.

Hypothesis testing: a five step process


  1. Check: Check that the conditions for the test procedure are met.

Hypothesis testing: a five step process


  1. Calculate: Calculate the test statistic and the p-value.

Hypothesis testing: a five step process


  1. Conclude: Compare the p-value to the significance level to determine whether to reject \(H_0\) or not reject \(H_0\). Draw a conclusion in the context of \(H_A\).

Hypothesis testing: a five step process

  1. Identify

  2. Choose

  3. Check

  4. Compute

  5. Conclude

Why R?

  1. Wide range of statistical tests.
  1. Flexibility in handling data
  1. Visualization
  1. Automation
  1. Dynamic documents

Why R?

  1. Posit Cloud
  1. Reproducibility
  1. Free and open-source
  1. Vibrant R user community

Scan me!

https://posit.cloud/content/9299336

Resources

  1. What statistical test should I do? by Antonine Soetewey
  2. Advanced High School Statistics by David M Diez, Mine Çetinkaya-Rundel, Leah Dorazio, and Christopher D Barr

Big Book of R by Oscar Baruffa

Thank you!


odhombrebueno@nvsu.edu.ph

References

Diez, David, Mine Çetinkaya-Rundel, Leah Dorazio, and Christopher D Barr. 2022. Advanced High School Statistics. OpenIntro.